//
//  PageIterator.h
//  SimulacraDB
//
//  Created by Andre Cohen on 8/11/08.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "DataIterator.h"
#import "Paging.h"

@interface PageIterator : NSObject <DataIterator>{
	Record *prototype;
	Paging *paging;
	int location;
	int page;
}

- (id)initWithRecord:(Record *)record page:(Paging *)paging;

- (Record *)recordForPage:(int)p offset:(int)off;

@end
